{% extends "admin/base.html" %}
{% from 'macro/form.html' import form_field %}
{% block title %}支付宝配置信息{% endblock %}
{% block content %}
    <div class="pace  pace-inactive">
        <div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
            <div class="pace-progress-inner"></div>
        </div>
        <div class="pace-activity"></div>
    </div>
    <div id="wrapper">
        {% include 'admin/admin_nav.html' %}
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                {% include 'admin/header_nav.html' %}
            </div>
            <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>数据表格</h2>
                    <ol class="breadcrumb">
                        <li>
                            <a href="#">主页</a>
                        </li>
                        <li>
                            <a>表格</a>
                        </li>
                        <li>
                            <strong>数据表格</strong>
                        </li>
                    </ol>
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="ibox float-e-margins">
                                <div class="ibox-title">
                                    <h5>配置信息</h5>

                                    <div class="ibox-tools">
                                        <a class="collapse-link">
                                            <i class="fa fa-chevron-up"></i>
                                        </a>
                                        <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
                                            <i class="fa fa-wrench"></i>
                                        </a>

                                        <a class="close-link">
                                            <i class="fa fa-times"></i>
                                        </a>
                                    </div>
                                </div>
                                <div class="ibox-content">
                                    <form class="form-horizontal m-t" method="post" id="commentForm" novalidate="novalidate">
                                        {{ form.csrf_token }}

                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">支付宝认证邮箱：</label>

                                            <div class="col-sm-8">

                                                <input id="name" name="name" minlength="2" type="text"
                                                       class="form-control" value="{{ form.email.data }}" required=""
                                                       aria-required="true">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">合作者身份PID：</label>

                                            <div class="col-sm-8">
                                                <input id="url" type="url" class="form-control" name="pid"
                                                       required="" aria-required="true" value="{{ form.pid.data }}">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">安全校验码key：</label>

                                            <div class="col-sm-8">
                                                <input id="title" type="text" class="form-control" name="key"
                                                       value="{{ form.key.data }}">
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <div class="col-sm-4 col-sm-offset-3">
                                                <button class="btn btn-primary" type="submit">提交</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <div class="wrapper wrapper-content animated fadeInRight">

            </div>
        </div>
    </div>
    </div>

    </body>

    </html>
{% endblock %}